package com.library.pojo;

public class Book {
    private String bookID;
    private String bookStyleId;
    private String bookName;
    private String writerName;
    private String press;
    private String dataOfPublication;
    private float price;
    private String content;
    private int bookCounts;
    private int borrowCounts;
    private String date;

    public Book() {
    }

    public Book(String bookID, String bookStyleId, String bookName, String writerName, String press, String dataOfPublication, float price, String content, int bookCounts, int borrowCounts, String date) {
        this.bookID = bookID;
        this.bookStyleId = bookStyleId;
        this.bookName = bookName;
        this.writerName = writerName;
        this.press = press;
        this.dataOfPublication = dataOfPublication;
        this.price = price;
        this.content = content;
        this.bookCounts = bookCounts;
        this.borrowCounts = borrowCounts;
        this.date = date;
    }

    public String getBookID() {
        return bookID;
    }

    public void setBookID(String bookID) {
        this.bookID = bookID;
    }

    public String getBookStyleId() {
        return bookStyleId;
    }

    public void setBookStyleId(String bookStyleId) {
        this.bookStyleId = bookStyleId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getWriterName() {
        return writerName;
    }

    public void setWriterName(String writerName) {
        this.writerName = writerName;
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press;
    }

    public String getDataOfPublication() {
        return dataOfPublication;
    }

    public void setDataOfPublication(String dataOfPublication) {
        this.dataOfPublication = dataOfPublication;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getBookCounts() {
        return bookCounts;
    }

    public void setBookCounts(int bookCounts) {
        this.bookCounts = bookCounts;
    }

    public int getBorrowCounts() {
        return borrowCounts;
    }

    public void setBorrowCounts(int borrowCounts) {
        this.borrowCounts = borrowCounts;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookID='" + bookID + '\'' +
                ", bookStyleId='" + bookStyleId + '\'' +
                ", bookName='" + bookName + '\'' +
                ", writerName='" + writerName + '\'' +
                ", press='" + press + '\'' +
                ", dataOfPublication='" + dataOfPublication + '\'' +
                ", price=" + price +
                ", content='" + content + '\'' +
                ", bookCounts=" + bookCounts +
                ", borrowCounts=" + borrowCounts +
                ", date='" + date + '\'' +
                '}';
    }
}